import React from 'react'

interface DivideType {
  width?: string,
  height?: string,
  style?: any
}
const Divide = ({
  width, height, style = {}
}: DivideType) => {

  function getWrap(): any {
    return { ...style }
  }

  const wrapStyles = getWrap()

  return (
    <div style={{ width, height, ...wrapStyles }}></div>
  )
}

export default Divide